package com.me.modules.sla.job;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * 类SlaJobUtil的功能描述:
 * SLA定时任务
 * @Auther me
 * @Date 2018-08-25 09:33:10
 */
@Component("slaJobUtil")
public class SlaJobUtil {
    private Logger logger = LoggerFactory.getLogger(getClass());

    public void SlaExpire(String params){
        logger.info("我是带参数的test方法，正在被执行，参数为：" + params);

        try {
            Thread.sleep(1000L);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("执行成功");

    }
}
